﻿using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;

namespace DotNetStar.TheKing.Domain.Migrations
{
    public partial class Update_Content_ForAsk : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<Guid>(
                name: "BestCommentId",
                table: "Contents",
                nullable: true);

            migrationBuilder.AddColumn<bool>(
                name: "IsLockComment",
                table: "Contents",
                nullable: false,
                defaultValue: false);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "BestCommentId",
                table: "Contents");

            migrationBuilder.DropColumn(
                name: "IsLockComment",
                table: "Contents");
        }
    }
}
